package com.wisdytech.linkdcs.equipLifeCycle.malfunction.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dailibo
 * @since 2018-06-12
 */
@TableName("TT_EQ_T_P_REPLACE_TEMP")
public class TPReplaceTemp extends Model<TPReplaceTemp> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("PLAN_ID")
    private String planId;
    @TableField("TYPE")
    private String type;
    @TableField("CODE")
    private String code;
    @TableField("NAME")
    private String name;
    @TableField("LOCATION_CODE")
    private String locationCode;
    @TableField("LOCATION_NAME")
    private String locationName;
    @TableField("O_CODE")
    private String oCode;
    @TableField("N_CODE")
    private String nCode;
    @TableField("NUM")
    private Double num;
    @TableField("O_SERIAL_NUM")
    private String oSerialNum;
    @TableField("N_SERIAL_NUM")
    private String nSerialNum;
    @TableField("USE_FLAG")
    private String useFlag;
    @TableField("REPAIR_FLAG")
    private String repairFlag;
    
    @TableField("RECORD_ID")
    private String recordId;
    @TableField("FLAG")
    private String flag;
    @TableField("REPLACE_ID")
    private String replaceId;

    @TableField(exist=false)
    private String partId;
    @TableField(exist=false)
    private String locationId;
    @TableField(exist=false)
    private String oSerId;
    @TableField(exist=false)
    private String nSerId;
    @TableField(exist=false)
    private String nToolId;
    @TableField(exist=false)
    private String oToolId;
    
    

    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getLocationCode() {
		return locationCode;
	}

	public void setLocationCode(String locationCode) {
		this.locationCode = locationCode;
	}

	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}

	public String getoCode() {
        return oCode;
    }

    public void setoCode(String oCode) {
        this.oCode = oCode;
    }

    public String getnCode() {
        return nCode;
    }

    public void setnCode(String nCode) {
        this.nCode = nCode;
    }

    public Double getNum() {
        return num;
    }

    public void setNum(Double num) {
        this.num = num;
    }

    public String getoSerialNum() {
        return oSerialNum;
    }

    public void setoSerialNum(String oSerialNum) {
        this.oSerialNum = oSerialNum;
    }

    public String getnSerialNum() {
        return nSerialNum;
    }

    public void setnSerialNum(String nSerialNum) {
        this.nSerialNum = nSerialNum;
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag;
    }

    public String getRepairFlag() {
        return repairFlag;
    }

    public void setRepairFlag(String repairFlag) {
        this.repairFlag = repairFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

	public String getPartId() {
		return partId;
	}

	public void setPartId(String partId) {
		this.partId = partId;
	}

	public String getLocationId() {
		return locationId;
	}

	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}

	public String getoSerId() {
		return oSerId;
	}

	public void setoSerId(String oSerId) {
		this.oSerId = oSerId;
	}

	public String getnSerId() {
		return nSerId;
	}

	public void setnSerId(String nSerId) {
		this.nSerId = nSerId;
	}

	public String getnToolId() {
		return nToolId;
	}

	public void setnToolId(String nToolId) {
		this.nToolId = nToolId;
	}

	public String getoToolId() {
		return oToolId;
	}

	public void setoToolId(String oToolId) {
		this.oToolId = oToolId;
	}

	public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getReplaceId() {
		return replaceId;
	}

	public void setReplaceId(String replaceId) {
		this.replaceId = replaceId;
	}
	
	
    
    
}
